package com.company.project.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsf
 * @since 2018-10-30
 */
@TableName("sys_use")
public class Use extends Model<Use> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("use_code")
    private String useCode;
    @TableField("use_name")
    private String useName;
    @TableField("use_label")
    private String useLabel;
    @TableField("use_id")
    private String useId;
    @TableField("use_time")
    private Date useTime;
    @TableField("use_access")
    private Double useAccess;
    @TableField("use_number")
    private Double useNumber;
    @TableField("use_use")
    private String useUse;
    @TableField("use_path")
    private String usePath;
    @TableField("use_pretreatment")
    private String usePretreatment;
    @TableField("use_state")
    private Integer useState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUseCode() {
        return useCode;
    }

    public void setUseCode(String useCode) {
        this.useCode = useCode;
    }

    public String getUseName() {
        return useName;
    }

    public void setUseName(String useName) {
        this.useName = useName;
    }

    public String getUseLabel() {
        return useLabel;
    }

    public void setUseLabel(String useLabel) {
        this.useLabel = useLabel;
    }

    public String getUseId() {
        return useId;
    }

    public void setUseId(String useId) {
        this.useId = useId;
    }

    public Date getUseTime() {
        return useTime;
    }

    public void setUseTime(Date useTime) {
        this.useTime = useTime;
    }

    public Double getUseAccess() {
        return useAccess;
    }

    public void setUseAccess(Double useAccess) {
        this.useAccess = useAccess;
    }

    public Double getUseNumber() {
        return useNumber;
    }

    public void setUseNumber(Double useNumber) {
        this.useNumber = useNumber;
    }

    public String getUseUse() {
        return useUse;
    }

    public void setUseUse(String useUse) {
        this.useUse = useUse;
    }

    public String getUsePath() {
        return usePath;
    }

    public void setUsePath(String usePath) {
        this.usePath = usePath;
    }

    public String getUsePretreatment() {
        return usePretreatment;
    }

    public void setUsePretreatment(String usePretreatment) {
        this.usePretreatment = usePretreatment;
    }

    public Integer getUseState() {
        return useState;
    }

    public void setUseState(Integer useState) {
        this.useState = useState;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Use{" +
        "id=" + id +
        ", useCode=" + useCode +
        ", useName=" + useName +
        ", useLabel=" + useLabel +
        ", useId=" + useId +
         ", useTime=" + useTime +
        ", useAccess=" + useAccess +
        ", useNumber=" + useNumber +
        ", useUse=" + useUse +
        ", usePath=" + usePath +
        ", usePretreatment=" + usePretreatment +
        ", useState=" + useState +
        "}";
    }
}
